package com.xinguan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

@EnableTransactionManagement
@SpringBootApplication
@ComponentScan("com.xinguan.*")
@MapperScan("com.xinguan.system.mapper")
@ServletComponentScan
public class XinaguanApplication {

    public static void main(String[] args) {
        SpringApplication.run(XinaguanApplication.class, args);
    }

}
